.main {
    max-width: 100vw;

    

    .section {
        display: flex;
        flex-direction: row;
        justify-content: start;
        margin: 50px 180px 20px;

        .filter {
            width: 320px;
            height: 580px;
            display: flex;
            flex-direction: column;
            justify-content: start;
            background-color: #ffffff;
            border-radius: 20px;
            border: 2px solid #999;


            .title {
                display: flex;
                flex-direction: row;
                justify-content: space-between;

                .clear {
                    transition: .9s;
                    color: #795ab0;

                    &:hover {
                        cursor: pointer;
                        color: red;
                    }
                }
            }

            div {
                margin: 20px;
                .el-input {
                    width: 86%;
                    display: block;
                }
                .el-select {
                    width: 86%;
                    display: block;
                }

                .el-button {
                    background-color: #795ab0;
                    color: white;
                    text-align: center;
                    width: 100%;
                    height: 50px;
                    border-radius: 10px;
                    font-size: 20px;
                }


                span {
                    font-weight: bolder;
                    font-size: 16px;
                    margin-right: 10px;
                }

            }

        }

        .good {
            flex: 1;

            .items {
                padding-left: 20px;
                display: grid;
                grid-template-columns: repeat(auto-fill, 270px);

                .item {
                    width: 250px;
                    background-color: #ffffff;
                    height: 365px;
                    margin: 0px 10px 20px;
                    border-radius: 5px;
                    box-shadow: 2px 2px #999;
                    transition: 1.1s;

                    &:hover {
                        transform: scale(1.05, 1.05);
                    }

                    .img {
                        position: relative;

                        div {
                            position: absolute;
                            top: 10px;
                            left: 20px;
                            background-color: #795ab0;
                            font-size: 12px;
                            width: 50px;
                            height: 20px;
                            border-radius: 5px;
                            overflow: hidden;
                            display: flex;
                            justify-content: start;
                            flex-direction: row;

                            img {
                                width: 30px;
                                height: 16px;
                            }

                            strong {
                                color: white;
                                display: block;
                                line-height: 20px;
                                text-align: center;
                            }
                        }

                        img {
                            width: 100%;
                            height: 160px;
                            border-radius: 5px;
                        }
                    }

                    .info {
                        display: flex;
                        flex-direction: column;
                        justify-content: start;
                        padding: 20px;
                        font-size: 16px;


                        div {
                            margin: 5px 0px;
                        }
                        .name{
                            font-size: 18px;
                            font-weight: bolder;
                        }

                        .price_newPrice {

                            .price {
                                margin-right: 20px;
                                color: #795ab5;
                                font-size: 18px;
                                font-weight: bolder;
                            }

                            .newPrices {
                                font-size: 12px;
                                text-decoration: line-through;
                            }
                        }


                        .buy_heart {
                            display: flex;
                            justify-content: start;
                            flex-direction: row;

                            .el-button {
                                background-color: #29b474;
                                color: white;
                                width: 160px;
                                height: 44px;
                                font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
                                font-weight: bolder;
                            }

                            .heart {
                                margin-left: 40px;

                                background-color: #fdede5;
                                border-radius: 8px;
                                width: 44px;
                                height: 44px;
                                transition: 1s;

                                &:hover {
                                    cursor: pointer;
                                    background-color: #fe8d8d;
                                }
                            }
                        }


                    }
                }
            }

            .page {
                margin-left: 40%;
                margin-top: 20px;
                /deep/.el-pagination .btn-prev {
                    margin-left: 20px !important;
                }
            }
        }

    }
}